package com.maxmind.common.validate;

import java.io.Serializable;

/**
 * @Description: 公共常量
 * <p>
 */
public class CommonConstants implements Serializable {

    public static final String SUCCESS = "success";

    public static final String FAILURE = "failure";

    public static final String CODE_SUCCESS = "0";

    public static final String CODE_FAILURE = "1";

    public static final String SAP_SUCCESS = "S";

    public static final String SAP_FAILURE = "E";

    public static final Integer STATUS_FAILURE = 0;

    public static final Integer STATUS_SUCCESS = 1;


    /**
     * 上传文件最大数据量 - Excel
     */
    public static final int MAX_EXCEL_CONTENT_COUNT = 20000;

    /**
     * Excel 2003 文件格式后缀
     */
    public static final String EXCEL_VERSION_03 = "xls";

    /**
     * Excel 2007 文件格式后缀
     */
    public static final String EXCEL_VERSION_07 = "xlsx";

    /**
     * 来伊份默认商户编号
     */
    public static final long LYFEN_DEFAULT_MERCHANT_ID = 10000;

    /**
     * 系统的操作者工号
     */
    public static final long DEFAULT_SYSTEM_USER_ID = -1;

    /**
     * 商品箱单位编码
     */
    public static final String BOX_UNIT_CODE = "KAR";


    /**
     * 小数点后位数，当前为3位
     */
    public static final int DECIMAL_POINT_NUM = 3;
}
